package com.ciko.code.http.Req;


import com.ciko.code.constant.Api;
import com.ciko.code.http.BaseRequest;
import com.mywork.WorkUIKit;

/**
 * Created by ciko on 2015/12/5.
 */
public class SelAcceptPlanReq extends BaseRequest {

    public SelAcceptPlanReq(String type, long createTime, Integer length) {

        init();

        put("type", type);
        put("createTime", createTime);
        put("length", length);
        put("userCode", WorkUIKit.getUser().getUserNo());
        putCid(type + createTime + "" + length + "" + WorkUIKit.getUser().getUserNo());
    }

    @Override
    public String getUrl() {
        return Api.selAcceptPlan;
    }

    @Override
    public Class<?> getResponseClazz() {
        return SelAcceptPlanRes.class;
    }
}
